package cn.ycxy.lbl.pojo.member.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel(value="前台用户信息更新模板")
@Data
public class UserInfoModifyDTO {

    @ApiModelProperty(value = "学号或教师编号", name = "sno", required = true)
    @NotBlank(message = "学号或教师编号不允许为空！")
    private String sno;

    @ApiModelProperty(value = "身份: 0-学生;1-教师", name = "identity", required = true)
    @NotNull(message = "用户身份不允许为空！")
    private Integer identity;

    @ApiModelProperty(value = "用户所属学院", name = "college")
    private String college;

    @ApiModelProperty(value = "用户专业", name = "specialty")
    private String specialty;

    @ApiModelProperty(value = "哪一届的", name = "step")
    private String step;

    @ApiModelProperty(value = "认证图片", name = "approveImg", required = true)
    @NotNull(message = "用户认证图片不允许为空！")
    private String approveImg;
}
